package com.esunrising.esungsc.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


import javax.persistence.*;
import java.time.LocalDateTime;


@ApiModel(description = "凭证关联业务单据")
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "T_API_FIGLAYWDJ")
public class FIGLAYwdj extends BaseEntity {


    /**
    * 主键ID
    */
    @Id
    @ApiModelProperty("-")
    @Column(name = "ID")
    private String id;

    /**
    * 核算组织ID
    */
    @ApiModelProperty("-")
    @Column(name = "ACCORG")
    private String accorg;

    /**
    * 凭证年度
    */
    @ApiModelProperty("-")
    @Column(name = "ACCDOCYEAR")
    private String accdocyear;

    /**
    * 凭证日期
    */
    @ApiModelProperty("-")
    @Column(name = "ACCDOCDATE")
    private String accdocdate;

    /**
    * 凭证编号
    */
    @ApiModelProperty("-")
    @Column(name = "ACCDOCNUMBER")
    private String accdocnumber;

    /**
    * 核算账簿ID
    */
    @ApiModelProperty("-")
    @Column(name = "ACCLEDGER")
    private String accledger;

    /**
    * 业务单据ID
    */
    @ApiModelProperty("-")
    @Column(name = "BIZDATAID")
    private String bizdataid;

    /**
    * 业务单据编号
    */
    @ApiModelProperty("-")
    @Column(name = "DJBH")
    private String djbh;

    /**
    * 业务单据类型ID
    */
    @ApiModelProperty("-")
    @Column(name = "BIZDATATYPE")
    private String bizdatatype;

    /**
    * 目标单据类型
    */
    @ApiModelProperty("-")
    @Column(name = "TARGETDATATYPE")
    private String targetdatatype;

    /**
    * 凭证ID
    */
    @ApiModelProperty("-")
    @Column(name = "TARGETDATAID")
    private String targetdataid;

    /**
    * 业务单据类型名称
    */
    @ApiModelProperty("-")
    @Column(name = "YWLXNAME")
    private String ywlxname;

    /**
    * 业务单据类型编号
    */
    @ApiModelProperty("-")
    @Column(name = "YWLXCODE")
    private String ywlxcode;


}